
package com.ktgj.common.spring.entity.iata.iata_orderreshoprq;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>RequestType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="RequestType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="BookingRef" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderReshopRQ}BookingRefType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="OrderActionContextText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="OrderRefID" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="ReshopParameters" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderReshopRQ}ResponseParametersType"/&gt;
 *         &lt;element name="UpdateOrder" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderReshopRQ}UpdateOrderType"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RequestType", propOrder = {
    "bookingRef",
    "orderActionContextText",
    "orderRefID",
    "reshopParameters",
    "updateOrder"
})
public class RequestType {

    @XmlElement(name = "BookingRef")
    protected List<BookingRefType> bookingRef;
    @XmlElement(name = "OrderActionContextText")
    protected String orderActionContextText;
    @XmlElement(name = "OrderRefID", required = true)
    protected String orderRefID;
    @XmlElement(name = "ReshopParameters", required = true)
    protected ResponseParametersType reshopParameters;
    @XmlElement(name = "UpdateOrder", required = true)
    protected UpdateOrderType updateOrder;

    /**
     * Gets the value of the bookingRef property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the bookingRef property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getBookingRef().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link BookingRefType }
     * 
     * 
     */
    public List<BookingRefType> getBookingRef() {
        if (bookingRef == null) {
            bookingRef = new ArrayList<BookingRefType>();
        }
        return this.bookingRef;
    }

    /**
     * 获取orderActionContextText属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrderActionContextText() {
        return orderActionContextText;
    }

    /**
     * 设置orderActionContextText属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrderActionContextText(String value) {
        this.orderActionContextText = value;
    }

    /**
     * 获取orderRefID属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrderRefID() {
        return orderRefID;
    }

    /**
     * 设置orderRefID属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrderRefID(String value) {
        this.orderRefID = value;
    }

    /**
     * 获取reshopParameters属性的值。
     * 
     * @return
     *     possible object is
     *     {@link ResponseParametersType }
     *     
     */
    public ResponseParametersType getReshopParameters() {
        return reshopParameters;
    }

    /**
     * 设置reshopParameters属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link ResponseParametersType }
     *     
     */
    public void setReshopParameters(ResponseParametersType value) {
        this.reshopParameters = value;
    }

    /**
     * 获取updateOrder属性的值。
     * 
     * @return
     *     possible object is
     *     {@link UpdateOrderType }
     *     
     */
    public UpdateOrderType getUpdateOrder() {
        return updateOrder;
    }

    /**
     * 设置updateOrder属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link UpdateOrderType }
     *     
     */
    public void setUpdateOrder(UpdateOrderType value) {
        this.updateOrder = value;
    }

}
